import request from "@/utils/request";
export function tableSysLabel(data) {
  return request({
    url: "/table/pc/sysLabel",
    method: "get",
    params: data,
  });
}

export function sysLabel(data) {
  return request({
    url: "/sysLabel",
    method: "get",
    params: data,
  });
}
export function getLabel(data) {
  return request({
    url: `/sysLabel/${data}`,
    method: "get",
  });
}
export function deleteLabel(data) {
  return request({
    url: `/sysLabel/${data}`,
    method: "delete",
    // params: data,
  });
}
export function postLabel(data) {
  return request({
    url: `/sysLabel`,
    method: "post",
    data: data,
  });
}
export function putLabel(data) {
  return request({
    url: `/sysLabel/${data.id}`,
    method: "put",
    data,
  });
}
